<?php
namespace bee;
/**
 *
 * @author dzelenika
 * @todo klasa koja sadrži pregled podataka tablice sa linkovima za uređivanje brisanje i i dodavanje te filtrom
 *
 */
abstract class tabularForm extends form
{
  /**
   *
   * @var bee\grid
   */
  public $grid;
  protected $DAO;
  protected $DAOname;

  public function createForm($evt)
  { $this->DAO = new $this->DAOname();
    $this->grid = DAOgrid::getInstance();
    $this->grid->setDataSource($this->DAO);
  }

  //public function setFilter($evt);
}

class DAOgrid extends grid
{
  public function createGrid($evt)
  { $this->__gridID = "grd201202022105";
  }
}

